﻿using DeltaGroup.WheelOfJeopardy.UI.Converters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Globalization;

namespace DeltaGroup.WoJ.Tests
{
    
    
    /// <summary>
    ///This is a test class for SelectedVisibilityConverterTest and is intended
    ///to contain all SelectedVisibilityConverterTest Unit Tests
    ///</summary>
    [TestClass()]
    public class SelectedVisibilityConverterTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }


        /// <summary>
        ///A test for Convert
        ///</summary>
        [TestMethod()]
        public void SelectedVisibilityConvertTestTrue()
        {
            SelectedVisibilityConverter target = new SelectedVisibilityConverter();
            object value = true;
            Type targetType = null;
            object parameter = null;
            CultureInfo culture = null;
            System.Windows.Visibility expected = System.Windows.Visibility.Visible;
            object actual;
            actual = target.Convert(value, targetType, parameter, culture);
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for Convert
        ///</summary>
        [TestMethod()]
        public void SelectedVisibilityConvertTestFalse()
        {
            SelectedVisibilityConverter target = new SelectedVisibilityConverter();
            object value = false;
            Type targetType = null;
            object parameter = null;
            CultureInfo culture = null;
            System.Windows.Visibility expected = System.Windows.Visibility.Collapsed;
            object actual;
            actual = target.Convert(value, targetType, parameter, culture);
            Assert.AreEqual(expected, actual);
        }

       
    }
}
